﻿<UserControl
	x:Class="HomeUX.ClientApp.GenAudio" Width="800" Height="530" IsTabStop="False"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:HomeUX.Controls;assembly=HomeUX.ClientLibrary"
    xmlns:local="clr-namespace:HomeUX.ClientApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

	<Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackgroundBrush}">

		<!-- - - - - - -->

        <Border Margin="28,70,0,0" Background="Silver" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" Width="346">
            <TextBlock TextAlignment="Center" VerticalAlignment="Center" FontSize="15" Foreground="White" FontWeight="Bold">Laundry Room Audio</TextBlock>
        </Border>
		
        <c:TouchDropDownList x:Name="LaundryRoom_Source" Label="Laundry Room Audio Source" SyncPath="Laundry Room Audio\Source" HorizontalAlignment="Left" Margin="28,105,0,0" VerticalAlignment="Top" Width="280"
			ViewportMinWidth="280" ViewportMaxHeight="425" DropDownBorderThickness="0"
			ItemAction="SetStringValue" ConfigurationSyncPath="." ItemsConfigurationSyncPath="Values" d:LayoutOverrides="HorizontalAlignment" />
        
        <c:TouchLevel Label="Laundry Room Volume" SyncPath="Laundry Room Audio\Volume" HorizontalAlignment="Left" Margin="28,160,0,0" VerticalAlignment="Top" Width="280" d:LayoutOverrides="HorizontalAlignment"/>
		<c:TouchButton Text="Mute" SyncPath="Laundry Room Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Left" Margin="312,160,0,0" VerticalAlignment="Top" d:LayoutOverrides="HorizontalAlignment, Height" Width="60"/>

        <c:TouchButton x:Name="LaundryRoom_ControlMediaButton" Text="Control" HorizontalAlignment="Left" Margin="312,105,0,0" VerticalAlignment="Top" d:LayoutOverrides="HorizontalAlignment, Height" Click="LaundryRoom_ControlMediaButton_Click" Width="60" />

		<!-- - - - - - -->

        <Border Margin="0,70,30,0" Background="Silver" Height="25" HorizontalAlignment="Right" VerticalAlignment="Top" Width="346">
        	<TextBlock TextAlignment="Center" VerticalAlignment="Center" FontSize="15" Foreground="White" FontWeight="Bold"><Run Text="Deck Audio"/></TextBlock>
        </Border>
        <c:TouchDropDownList x:Name="Deck_Source" Label="Deck Audio Source" SyncPath="Deck Audio\Source" HorizontalAlignment="Left" Margin="424,105,0,0" VerticalAlignment="Top" Width="280"
        	ViewportMinWidth="280" ViewportMaxHeight="425" DropDownBorderThickness="0"
        	ItemAction="SetStringValue" ConfigurationSyncPath="." ItemsConfigurationSyncPath="Values" />
        <c:TouchLevel Label="Deck Volume" SyncPath="Deck Audio\Volume" HorizontalAlignment="Left" Margin="424,160,0,0" VerticalAlignment="Top" Width="280"/>
        <c:TouchButton Text="Mute" SyncPath="Deck Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Left" Margin="708,160,0,0" VerticalAlignment="Top" Width="60" d:LayoutOverrides="Height"/>
        <c:TouchButton x:Name="Deck_ControlMediaButton" Text="Control" HorizontalAlignment="Left" Margin="708,105,0,0" VerticalAlignment="Top" Click="Deck_ControlMediaButton_Click" Width="60" d:LayoutOverrides="Height" />

		<!-- - - - - - -->

        <Border Margin="0,250,30,255" Background="Silver" HorizontalAlignment="Right" Width="346">
        	<TextBlock TextAlignment="Center" VerticalAlignment="Center" FontSize="15" Foreground="White" FontWeight="Bold"><Run Text="Patio Audio"/></TextBlock>
        </Border>
        <c:TouchDropDownList x:Name="Patio_Source" Label="Patio Audio Source" SyncPath="Patio Audio\Source" HorizontalAlignment="Left" Margin="424,0,0,195" Width="280"
        	ViewportMinWidth="280" ViewportMaxHeight="425" DropDownBorderThickness="0"
        	ItemAction="SetStringValue" ConfigurationSyncPath="." ItemsConfigurationSyncPath="Values" VerticalAlignment="Bottom" />
        <c:TouchLevel Label="Patio Volume" SyncPath="Patio Audio\Volume" HorizontalAlignment="Left" Margin="424,0,0,140" VerticalAlignment="Bottom" Width="280"/>
        <c:TouchButton Text="Mute" SyncPath="Patio Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Left" Margin="708,0,0,140" VerticalAlignment="Bottom" Width="60" d:LayoutOverrides="Height"/>
        <c:TouchButton x:Name="Patio_ControlMediaButton" Text="Control" HorizontalAlignment="Left" Margin="708,0,0,195" Click="Patio_ControlMediaButton_Click" Width="60" VerticalAlignment="Bottom" d:LayoutOverrides="Height" />
        <c:TouchButton Text="Living Area Mute" SyncPath="Living Area Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Left" Margin="28,0,0,30" VerticalAlignment="Bottom" d:LayoutOverrides="Height" Width="90"/>
        <c:TouchButton Text="Master Suite Mute" SyncPath="Master Suite Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Left" Margin="118,0,0,30" VerticalAlignment="Bottom" d:LayoutOverrides="Height" Width="90"/>
        <c:TouchButton Text="Office&#10;Mute" SyncPath="Office Audio\IsMuted" ItemAction="ToggleBooleanValue" HorizontalAlignment="Left" Margin="208,450,0,0" VerticalAlignment="Top" d:LayoutOverrides="Height" Width="90"/>
        <c:TouchButton Text="Game Room&#xa;Mute" SyncPath="Game Room Audio\IsMuted" ItemAction="ToggleBooleanValue" Margin="298,450,0,0" VerticalAlignment="Top" d:LayoutOverrides="HorizontalAlignment, Width, Height" HorizontalAlignment="Left" Width="90" />
        <Border Margin="28,425,0,0" Background="Silver" Height="25" VerticalAlignment="Top" HorizontalAlignment="Left" Width="360" d:LayoutOverrides="HorizontalAlignment">
        	<TextBlock TextAlignment="Center" VerticalAlignment="Center" FontSize="15" Foreground="White" FontWeight="Bold"><Run Text="Other Audio Zones"/></TextBlock>
        </Border>

    </Grid>

</UserControl>

